<%--
  Created by IntelliJ IDEA.
  User: sunhao
  Date: 2014-11-27
  Time: 15:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  request.setAttribute("contextPath", request.getContextPath());
%>
<html>
<head>
    <title>Login Form</title>
  <style type="text/css">
    a, a:hover, a:link, a:active, a:visited{
      text-decoration: none !important;
      color: #0079F5;
    }
  </style>
</head>
<body>
  <span style="color: red">${errorMsg }</span>
  <form action="${contextPath}/doLogin" method="post">
    <label for="loginName">
      用户名：<input type="text" id="loginName" name="loginName" value=""/><br/>
    </label>
    <label for="password">
      密 &nbsp;码：<input type="text" id="password" name="password" value=""/><br/>
    </label>
    <input type="submit" value="Login"/>
  </form>
</body>
</html>
